import os

# 项目根目录
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

# 日志目录
LOG_DIR = os.path.join(BASE_DIR, 'logs')

# 报告目录
REPORT_DIR = os.path.join(BASE_DIR, 'reports')

# 测试数据目录
DATA_DIR = os.path.join(BASE_DIR, 'data')

# 默认请求头
DEFAULT_HEADERS = {
    'Content-Type': 'application/json'
}

# 你的swagger文档地址
Swagger_URL = "https://company.com"

# 基础URL (根据环境动态加载) -> 获取认证
DOMAIN = "https://pre.company.com"
Test_URL = DOMAIN  # 测试环境的地址
Auth_URL = "/getToken" # 拿到token的接口
User_Id = 99 # getToken的接口的入参

# Uat环境
Uat_Domain = "https://uat.company.com/"
Uat_URL = Uat_Domain

# Prod
Prod_Domain = "https://prod.company.com/"
Prod_URL = Prod_Domain + "/api"

# 飞书机器人Webhook+Jenkins配置
Jenkins_Url = "http://ip:port"
Job_Name = "demo"
Jenkins_User = "userName"
Jenkins_Pwd = "passWord"
webhook = "信息发送地址" # 群

# SIT_MySQL数据库连接
DB_Host= ""
DB_User= ""
DB_Pwd= ""
DB_Port = 80
DB_Schema = ""
